Component({
  options: {
    styleIsolation: 'shared',
    multipleSlots: true // 在组件定义时的选项中启用多 slot 支持
  },
  properties: {
    visible: {
      type: Boolean,
      value: false
    },
    isCustomHeader: {
      type: Boolean,
      value: false
    },
    title: {
      type: String,
      value: ''
    },
    confirmText: {
      type: String,
      value: ''
    },
    isShowClose: {
      type: Boolean,
      value: ''
    },
    bottomPadding: {
      type: Number,
      value: 0
    }
  },
  methods: {
    stopBubbele() {
      return;
    },
    confirm() {
      this.triggerEvent('confirm');
    },
    close() {
      this.triggerEvent('close');
    }
  }
});
